home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 7: Sunsite
/
Linux Cubed Series 7 - Sunsite Vol 1.iso
/
system
/
shells
/
scsh-0.4
/
scsh-0
/
scsh-0.4.2
/
scsh
/
fdports1.h
< prev
next >
Wrap
Text File
|
1995-10-22
|
1KB
|
42 lines
/* Exports from fdports1.c. */
void init_fdports(void);
scheme_value maybe_fdes2port(int fd);
scheme_value fdport_getchar(scheme_value data);
int fdport_putchar(scheme_value data, char c);
scheme_value fdport_char_readyp(scheme_value data);
int flush_fdport(scheme_value data);
int flush_all_ports(void);
int seek_fdport(scheme_value data, off_t offset, int whence, int *newpos);
int tell_fdport( scheme_value data, int *newpos );
int set_fdbuf( scheme_value data, int policy, int bufsize );
int close_fdport(scheme_value port_data);
void cloexec_unrevealed(void);
int install_port(int fd, scheme_value port);
FILE *fdes2fstar(int fd);
int move_fdport(int fd, scheme_value port, int new_revealed);
void post_gc_fdports(void);
int read_fdport_substring(scheme_value buf, int start, int end, scheme_value data);
int write_fdport_substring(scheme_value buf, int start, int end, scheme_value data);
scheme_value read_delim(const char *delims, char *buf, int gobble,
scheme_value port, int start, int end,
int *nread);